// 学生
const Route = require('koa-router')

const {getStudentList,
	addStudent,
	studentAuditSubmit,
	auditStu,
	editStudent,
	del,
	addStudentManifestation,
	addStudentCredit,getStudentDetail,getStudentAudit} = require('../controller/student.js')
const router = new Route()


router.post('/getList',getStudentList) 
router.post('/studentAuditSubmit',studentAuditSubmit) 
router.post('/audit',auditStu)
router.post('/editStudent',editStudent) 
router.post('/del',del) 
router.post('/addStudentManifestation',addStudentManifestation) 
router.post('/addStudentCredit',addStudentCredit) 
router.post('/addStudent',addStudent) 
router.post('/getStudentDetail',getStudentDetail)
router.get('/getStudentAudit',getStudentAudit)

module.exports = router